﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace ChiDao.Site.Models
{
    public class BaklogTaskView
    {
        [Required]
        public Guid ID { get; set; }

        [Required]
        [StringLength(64)]
        public string ProcessID { get; set; }

        [Required]
        [StringLength(255)]
        public string TaskName { get; set; }

        [Required]
        [StringLength(20)]
        public string RequestPerson { get; set; }

        [StringLength(64)]
        public string CurrentProcessNodeCode { get; set; }

        [StringLength(255)]
        public string CurrentProcessNodeName { get; set; }

        [StringLength(64)]
        public string NextProcessNodeCode { get; set; }

        [StringLength(4000)]
        public string ApprovalOpinion { get; set; }

        [Required]
        [StringLength(1)]
        public string HandleState { get; set; }

        [Required]
        [StringLength(20)]
        public string CurrentProcessPerson { get; set; }

        [Required]
        [DataType(DataType.DateTime)]
        public DateTime ProcessTime { get; set; }
    }
}
